@keyframes bilingbiling {
    0%{
        background-position: -300px 0;
    }
    100%{
        background-position: 400px 0;
    }
}

.box_bg{
    width: 100%;
    height: 100%;
    background: url(../img/food_bg1.jpg) no-repeat center;
    background-size: cover;
}
/*-----------------------------登陆框-----------------------------------*/
.box{
    width: 530px;
    min-height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    /* background: #fff; */
}
.header{
    height: 62px;
    line-height: 62px;
    text-align: center;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    margin-bottom: 10px;
}
.header a{
    float: left;
    width: 50%;
    height: 100%;
    color: #fff;
    background: rgba(0,0,0,.6);
    font-size: 20px;
}
.header a.active{
    background:rgba(255,255,255,.8);
    color: #333
}
.header a:hover{
    text-decoration: underline;
    color: #ff6767;
}
.header a.active:hover{
    color: #333
}

.body{
    background:rgba(255,255,255,.8);
    height: 280px;
    padding: 20px 0;
    border-radius: 0px 0px 10px 10px;
    overflow: hidden;
}

.body .con {
    padding: 0 30px;
}

.body input[type="text"], input[type="password"]{
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: none;
    display: block;
    border-bottom: 1px solid #999999;
    text-indent: 12px;
    font-size: 16px;
}
.body button{
    background:linear-gradient(
        -135deg,
        rgba(255,255,255,0) 0px,
        rgba(255,255,255,0) 200px,
        rgba(255,255,255,0.4) 200px,
        rgba(255,255,255,0.3) 250px,
        rgba(255,255,255,0) 250px,
        rgba(255,255,255,0) 300px
        ) no-repeat #ff6767;
    background-position: -300px 0;
    text-align: center;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 22px;
    font-weight: bold;
    border: none;
    color: #fff;
    margin-top: 20px;
    border-radius: 8px;
}
.body button:hover{
    animation: bilingbiling .8s forwards;
}

.body input[type="text"]:focus, .login_transfrom input[type="password"]:focus{
    border-bottom-color: #ff6767;
}

/*========登陆部分=========*/
.body input[type="checkbox"]{
    width: 18px;
    height: 18px;
    margin-right: 20px;
    margin-top:20px;
}
.body p{
    height: 60px;
    line-height: 60px;
    font-size: 16px;
}
.body a{
    text-decoration: underline;
    float: right;
}
